﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Edit</title>
    <link href="~/Content/global.css" rel="stylesheet" />
    <link href="~/Content/lib/layui/css/layui.css" rel="stylesheet" />
    <script src="~/Content/lib/layui/layui.all.js"></script>
    <script src="~/Content/js/site.js"></script>
</head>
<body>
    <form class="layui-form layui-form-pane" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">任务名</label>
            <div class="layui-input-block">
                <input type="text" name="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">间隔</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" width="30" placeholder="时"> 
                <input type="text" class="layui-input" width="30" placeholder="分"> 
                <input type="text" class="layui-input" width="30" placeholder="秒"> 
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">执行频率</label>
            <div class="layui-input-inline">
                <select name="quiz1">
                    <option value="1" selected="">每隔一段时间</option>
                    <option value="2">每天固定时间</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item" pane="">
            <label class="layui-form-label">是否启用</label>
            <div class="layui-input-block">
                <input type="checkbox" checked="" name="open" lay-skin="switch" lay-filter="switchTest" title="开关">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">任务说明</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <button class="layui-btn" lay-submit="" lay-filter="demo2">保存</button>
        </div>
    </form>
</body>
</html>

<script type="text/javascript">
    var $ = layui.$;
    var form = layui.form;
    form.render();
</script>
